package ntd.util.modular.common.entity;

import cn.hutool.json.JSONArray;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import ntd.util.config.common.entity.BaseEntityMybatis;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author liuwenju
 * @since 2022-05-24
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("common_tag")
@Schema(description = "Tag对象")
public class Tag extends BaseEntityMybatis {

    @Schema(description = "标签名称")
    private String name;

    @Schema(description = "标签列表")
    private JSONArray tags;

    @Schema(description = "描述")
    @TableField("`desc`")
    private String desc;


}
